@import '../../../common/less/mixin.less';
@import '../../../common/less/base.less';
.ratings {
    position: absolute;
    top: 177px;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    .ratings-container {
        .overview {
            display: flex;
            padding: 18px 0;
            .overview-left {
                flex: 0 0 137px;
                padding: 6px 0;
                width: 137px;
                border-right: 1px solid rgba(7,17,27,.1);
                text-align: center;
                @media screen and (max-width: 320px) {
                    flex: 0 0 117px;
                    padding: 6px 0;
                    width: 117px;
                }
                .score {
                    margin-bottom: 6px;
                    line-height: 28px;
                    font-size: 24px;
                    color: rgb(255,153,0);
                }
                .title {
                    margin-bottom: 8px;
                    line-height: 12px;
                    font-size: 12px;
                    color: rgb(7,17,27);
                }
                .rank {
                    font-size: 10px;
                    color: rgb(147,153,159);
                }
            }
            .overview-right {
                flex: 1;
                padding: 6px 0 6px 24px;
                @media screen and (max-width: 320px) {
                    padding-left: 6px;
                }
                .score-wrapper {
                    font-size: 0;
                    margin-bottom: 8px;
                    .title {
                        display: inline-block;
                        vertical-align: top;
                        line-height: 18px;
                        font-size: 12px;
                        color: rgb(7,17,27);
                    }
                    .star {
                        display: inline-block;
                        vertical-align: top;
                        margin: 0 12px;
                    }
                    .score {
                        display: inline-block;
                        vertical-align: top;
                        line-height: 18px;
                        font-size: 12px;
                        color: rgb(255,153,0);
                    }
                }
                .delivery-time {
                    font-size: 0;
                    .title {
                        line-height: 18px;
                        font-size: 12px;
                        color: rgb(7,17,27);
                    }
                    .time {
                        margin-left: 12px;
                        font-size: 12px;
                        color: rgb(147,153,159);
                    }
                }
            }
        }
        .ratings-wrapper {
            height: 100%;
            .ratings-list {
                padding: 0 18px;
                .rating-item {
                    padding: 18px 0;
                    display: flex;
                    .border-1px(rgba(7,17,27,.1));
                    &:last-child {
                        &:after {
                            height: 0;
                        }
                    }
                    .avatar {
                        flex: 0 0 28px;
                        width: 28px;
                        img {
                            border-radius: 50%;
                        }
                    }
                    .info-right {
                        flex: 1;
                        padding-left: 12px;
                        .user {
                            margin-bottom: 4px;
                            position: relative;
                            .name {
                                font-size: 10px;
                                color: rgb(7,17,27);
                                line-height: 12px;
                            }
                            .time {
                                position: absolute;
                                right: 0;
                                font-weight: 200;
                                font-size: 12px;
                                line-height: 12px;
                                color: rgb(147,153,159);
                            }
                        }
                        .star-wrapper {
                            font-size: 0;
                            .star {
                                display: inline-block;
                                vertical-align: top;
                            }
                            .delivery-time {
                                display: inline-block;
                                vertical-align: top;
                                margin-left: 6px;
                                font-weight: 200;
                                font-size: 12px;
                                line-height: 15px;
                                color: rgb(147,153,159);
                            }
                        }
                        .msg {
                            margin: 6px 0 8px  0;
                            font-size: 12px;
                            line-height: 18px;
                            color: rgb(7,17,27);
                        }
                        .recommend {
                            font-size: 0;
                            .icon-thumb_up, .icon-thumb_down {
                                display: inline-block;
                                vertical-align: top;
                                line-height: 16px;
                                font-size: 12px;
                            }
                            .icon-thumb_up {
                                color: rgb(0, 160, 220);
                            }
                            .icon-thumb_down {
                                color: rgb(187,183,191);
                            }
                            .item {
                                display: inline-block;
                                max-width: 50px;
                                white-space: nowrap;
                                text-overflow: ellipsis;
                                overflow: hidden;
                                border: 1px solid rgba(7,17,27,.1);
                                border-radius: 2px;
                                padding: 0 6px;
                                margin-left: 8px;
                                margin-bottom: 8px;
                                font-size: 9px;
                                line-height: 16px;
                                color: rgb(147,153,159);
                                background: #fff;
                            }
                        }
                    }
                }
                .empty {
                    color: rgb(147,153,159);
                    text-align: center;
                    line-height: 48px;
                    font-size: 12px;
                }
            }
        }
    }
}